﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeEdu.MODEL
{
    [DisplayName("评论表")]
    public class Comment
    {
        [DisplayName("ID")]
        public int CommentId { get; set; }
        [DisplayName("评论内容")]
        public string Content { get; set; }
       
        [DisplayName("课时ID外键")]
        public Nullable<int> HourId { get; set; }
        public virtual Hour Hour { get; set; }
        [DisplayName("提问时间")]
        public DateTime PostTime { get; set; }
        [DisplayName("楼层")]
        public int CFoolr { get; set; }
        [DisplayName("讨论次数")]
        public int Talker { get; set; }
        [DisplayName("问题类型")]
        public int CType { get; set; }

        [DisplayName("评论者")]
        public string CPeople { get; set; }
        [DisplayName("评论子ID")]
        public Nullable<int>   Cid { get; set; }
    }
}
